/* Importing Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

/* TOS Specific Styles */

/* Navbar Styles to Match Spotify */
.navbar {
    position: fixed;
    top: -10px;
    left: 0;
    right: 0;
    width: 100%;
    margin: 0;
    padding: 10px 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
    background-color: #000;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.navbar-img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    margin-right: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    font-weight: 500;
    font-size: 15px;
    margin-left: 20px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    color: #d7a900;
}

.nav-item a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #d7a900;
    transition: width 0.3s ease;
}

.nav-item a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    height: 3px;
    width: 25px;
    background-color: #fff;
    margin: 4px 0;
    transition: 0.3s;
}

/* TOS Content Styles */
:root {
    --color-black: #000000;
    --color-white: #ffffff;
    --color-primary: #ffa128;
    --color-primary-dark: #994200;
    --color-text-light: #e0e0e0;
    --color-text-medium: #b3b3b3;
    --color-text-dark-grey: #919496;
    --color-footer-icon-bg: #222326;
    --color-footer-icon-hover: #727272;
    --font-primary: "Montserrat", sans-serif;
}

/* Reset generale */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--color-black);
    color: var(--color-text-light);
    font-family: var(--font-primary);
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Main content */
.tos-content {
    padding: 120px 0 60px;
    color: var(--color-text-light);
}

.tos-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.tos-container h1 {
    font-size: 36px;
    font-weight: 900;
    margin-bottom: 24px;
    color: var(--color-white);
}

.tos-container h1 strong {
    color: var(--color-primary);
}

.intro {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 24px;
}

.last-update {
    color: var(--color-text-medium);
    font-size: 14px;
    margin-bottom: 40px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--color-text-dark-grey);
}

.download-link {
    color: var(--color-primary);
    text-decoration: none;
    font-weight: 600;
}

.download-link:hover {
    text-decoration: underline;
}

.content-section {
    margin-bottom: 50px;
    background-color: transparent;
    box-shadow: none;
    border-radius: 0;
    padding: 0;
    max-width: 100%;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--color-white);
    padding-bottom: 10px;
    border-bottom: 1px solid var(--color-text-dark-grey);
}

.content-section h3 {
    font-size: 22px;
    font-weight: 700;
    margin: 30px 0 15px;
    color: var(--color-primary);
}

.content-section p {
    margin-bottom: 15px;
    line-height: 1.6;
    color: var(--color-text-light);
    font-size: 16px;
}

.content-section ul {
    margin-bottom: 20px;
    padding-left: 20px;
    list-style-type: disc;
}

.content-section ul li {
    margin-bottom: 10px;
    line-height: 1.6;
    font-size: 16px;
    color: var(--color-text-light);
}

.content-section strong {
    font-weight: 700;
    color: var(--color-white);
}

/* Responsive Adjustments */
@media (max-width: 992px) {
    .tos-container h1 {
        font-size: 32px;
    }
    
    .content-section h2 {
        font-size: 24px;
    }
    
    .content-section h3 {
        font-size: 20px;
    }
}

@media (max-width: 768px) {
    /* Mobile Navbar */
    .menu-toggle {
        display: flex;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active .bar:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }

    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        background-color: var(--color-black);
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
        transition: 0.3s;
        box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
        z-index: 1000;
    }

    .nav-links.active {
        left: 0;
    }

    .abbonamenti {
        margin: 15px 0;
        text-align: center;
        width: 100%;
    }

    .abbonamenti a {
        display: block;
        padding: 10px;
        font-size: 18px;
    }

    /* TOS Content Adjustments */
    .tos-content {
        padding: 100px 0 40px;
    }
    
    .tos-container h1 {
        font-size: 28px;
    }
    
    .content-section h2 {
        font-size: 22px;
    }
    
    .content-section h3 {
        font-size: 18px;
    }
    
    .navbar {
        padding: 15px;
    }
}

@media (max-width: 576px) {
    .tos-container h1 {
        font-size: 24px;
    }
    
    .intro {
        font-size: 16px;
    }
    
    .content-section h2 {
        font-size: 20px;
    }
    
    .content-section h3 {
        font-size: 18px;
    }
    
    .content-section p, 
    .content-section li {
        font-size: 15px;
    }
}

.footer {
    background-color: var(--color-black);
    color: var(--color-text-dark-grey);
    padding: 40px 0 25px;
    font-size: 16px;
    line-height: 1.5;
    flex-shrink: 0;
    font-family: var(--font-primary);
    box-shadow: 0 -4px 8px rgba(255, 255, 255, 0.1);
}

.footer-logo img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
}

.footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 40px;
}

.footer-column h3 {
    color: var(--color-white);
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 22px;
}

.footer-column ul {
    list-style: none;
    padding: 0;
}

.footer-column ul li {
    margin-bottom: 15px;
}

.footer-column ul li a {
    color: var(--color-white);
    text-decoration: none;
    font-size: 16px;
    font-weight: 400;
}

.footer-column ul li a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.footer-social-icons {
    display: inline-flex;
    flex-direction: column;
    gap: 15px;
}

.footer-social-icons a {
    background-color: var(--color-footer-icon-bg);
    color: var(--color-white);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    transition: background-color 0.2s ease;
}

.footer-social-icons a:hover {
    background-color: var(--color-footer-icon-hover);
    color: var(--color-white);
}

.footer-social-icons a i {
    font-size: 20px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 12px;
}

.footer-legal-links {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-legal-links a {
    color: var(--color-text-dark-grey);
    text-decoration: none;
}

.footer-legal-links a:hover {
    color: var(--color-white);
}

.footer-region-copy {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 10px;
}

.footer-region-copy span {
    color: var(--color-text-dark-grey);
}

.footer-region-copy span i {
    margin-right: 5px;
}
